@import '../../../scss/app';
.form-designer-box{
  width: 100%;
  height: 100%;
  label{
    margin-bottom: 0;
  }
  .ant-tabs-content-holder {
    overflow: auto;
    &::-webkit-scrollbar {
      width: 8px;
      height: 8px;
      background: transparent;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 8px;
      width: 8px;
      background-color: rgba(220, 220, 220, 0.5);
    }
  }
  .ant-tabs-card{
    min-width: 300px;
  }
  .ant-form-item{
    margin-bottom: 12px;

  }
  .ant-tabs-nav{
    margin: 0;
    &:before {
      display: none;
    }
    .ant-tabs-tab{
      padding: 4px 8px;
      border-radius: 0 !important;
      border-bottom-color: #484848;
      background: #383838;
      color: #A0A0A0;
      border: none;
      &.ant-tabs-tab-active{
        border-bottom-color: #484848;
        background: #686868;
        color: #D3D3D3;
      }
    }
  }
}
.ant-modal-content{
  background: #484848;

  .ant-modal-close{
    right: 8px;
    .ant-modal-close-x{
      width: 22px;
      height: 22px;
      line-height: 30px;
    }

  }
  .ant-modal-header{
    padding: 4px 12px;
    .ant-modal-title{
      font-size: 14px;
      color: #383838;
    }

  }
  .ant-modal-body{
    background: #484848;
    padding: 8px 24px;
    .ant-form-item{
      margin-bottom: 0;
    }
    .ant-form-item-label{
      color: #A3A3A3;
      .ant-form-item-required{
        color: #A3A3A3;
      }
    }
  }
  .ant-modal-footer{
    background: #484848;
    border: none;
    padding: 8px 24px;
    .ant-btn {
      padding: 4px 8px;
      font-size: 12px;
      height: initial;
      line-height: initial;
    }
  }
}

.user-workbench-box{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #484848;
  .user-workbench-header{
      height: 44px;
  }
  .user-workbench-content{
    flex: 1;
    display: flex;
    overflow-y: auto;
    .user-workbench-tab {
      display: flex;
      flex-direction: column;
      height: 100%;
      position: relative;
      &::after {
        position: absolute;
        right: 0;
        top: 0;
        content: ' ';
        width: 1px;
        height: 100%;
        display: inline-block;
        transform: scaleX(0.3);
        background: #A3A3A3;
      }
      .user-workbench-tab-item{
        display: inline-block;
        padding: 24px 4px;
        border-bottom: solid 1px #A3A3A3;
        &.active {
          background: #777;
        }
        .icon {
          fill: #FFFFFF;
        }
      }
    }
    .user-workbench-tab-content{
      flex: 1;

    }
  }
}
.app-webview{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ant-input{
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: #C3C3C3;
}
.ant-input-group-addon{
  border: none;
  background: transparent;
  .icon {
    fill: #A0A0A0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }
}
.form-box-item{
  display: flex;
  align-items: center;
  margin: 4px 0;

  label{
    text-align: right;
    margin-right: 4px;
    width: 64px;
    color: #A0A0A0;
  }
  .form-item-input {

  }
}
button.ant-btn {
  margin: 0 4px;
  border-radius: 0;
  background: #383838;
  color: #C3C3C3;
  &:hover {
    background: #C3C3C3;
    color: #383838;
    border: #383838;
  }
}
.color-box {
  border: 0;
  outline: none;
  -webkit-appearance: unset;
  padding: 0;
  width: 18px;
  height: 22px;
  &::-webkit-color-swatch-wrapper{
    border: none;
    background-color: #484848;
  }
  &::-webkit-color-swatch {
    position: relative;
  }
}
